<template>
  <div>
    <h3>我是孙子组件</h3>
    <p>{{ count }}</p>
  </div>
</template>

<script setup>
import { inject } from 'vue'
let count = inject('count')
</script>
